home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / i386 / xm-os2.h < prev    next >
C/C++ Source or Header  |  1994-02-22  |  2KB  |  51 lines

  1. /* Configuration for GNU compiler
  2.    for an Intel i386 or later processor running OS/2 2.x.
  3.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  4.    Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. #ifndef OS2
  23. #define OS2
  24. #endif
  25.  
  26. #ifdef __IBMC__
  27. #include <stdlib.h> /* this defines alloca */
  28. #define USG
  29. #define ONLY_INT_FIELDS
  30. #define HAVE_PUTENV
  31. #define USE_PROTOTYPES 1
  32. #define bcmp(a,b,c) memcmp (a,b,c)
  33. #define bcopy(a,b,c) memcpy (b,a,c)
  34. #define bzero(a,b) memset (a,0,b)
  35. #define index  strchr
  36. #define rindex strrchr
  37. #define kill(a,b) raise(b)
  38. #define mktemp tmpnam
  39. #else
  40. #define ____386BSD____
  41. int spawnv (int modeflag, char *path, char *argv[]);
  42. int spawnvp (int modeflag, char *path, char *argv[]);
  43. #endif /* __IBMC__ */
  44. #ifndef PATH_SEPARATOR
  45. #define PATH_SEPARATOR ';'
  46. #endif
  47.  
  48. #define EXECUTABLE_SUFFIX ".exe"
  49.  
  50. #include "i386/xm-i386.h"
  51.